class ApiResponse<T> {
  int? code;
  String? message;
  T? data;

  ApiResponse.fromJson(Map<String, dynamic>? map) {
    if (map != null) {
      message = map['message'];
      code = map['code'];
      data = map['data'];
    }
  }
}
